package com.xinhe.web.service;

import com.xinhe.web.entity.AdapaySettlementBank;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdapaySettlementBankService {
    /*@Autowired
    private IAdapaySettlementBankDao adapaySettlementBankDao;

    public PageResult<AdapaySettlementBankView> pageAdapaySettlementBank(AdapaySettlementBankQuery query) {
        Integer total = Integer.valueOf(0);
        if (0 < query.getLimit().intValue()) {
            total = this.adapaySettlementBankDao.countAdapaySettlementBank(query);
        }
        List<AdapaySettlementBankView> views = null;
        if (0 < total.intValue() || 0 >= query.getLimit().intValue()) {
            views = this.adapaySettlementBankDao.pageAdapaySettlementBank(query);
        }
        if (0 >= query.getLimit().intValue()) {
            if (null == views) {
                total = Integer.valueOf(0);
            } else {
                total = Integer.valueOf(views.size());
            }
        }
        return new PageResult(total, views);
    }


    protected IBaseDao<AdapaySettlementBank> getRealDao() {
        return (IBaseDao<AdapaySettlementBank>)this.adapaySettlementBankDao;
    }*/
}
